﻿<UserControl x:Class="MTBrainStorm.Views.Toolbox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:Commands="clr-namespace:MTBrainStorm.Framework.Commands;assembly=MTBrainStorm.Framework" mc:Ignorable="d" 
             d:DesignHeight="150" d:DesignWidth="150">
    <Grid Width="150" Height="150">
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Image Grid.Column="1" Grid.Row="0" Width="75" Height="75" Source="/MTBrainStorm;component/Resources/Gnome-Format-Text-Italic-64.png">
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="TouchDown">
                    <Commands:InvokeCommand Command="{Binding AddElement}" CommandParameter="text" />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </Image>
        <Image Grid.Column="0" Grid.Row="1" Width="75" Height="75" Source="/MTBrainStorm;component/Resources/Paint-128.png">
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="TouchDown">
                    <Commands:InvokeCommand Command="{Binding AddElement}" CommandParameter="ink" />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </Image>
    </Grid>
</UserControl>
